package com.blueocean_health.care.management.domain.dto;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;
import com.blueocean_health.care.management.common.excel.ExcelResources;
import com.blueocean_health.care.management.em.OrderStatusEnum;
import com.blueocean_health.care.management.em.OrderTypeEnum;
import com.blueocean_health.care.management.em.PayStatusEnum;
import com.blueocean_health.care.management.em.SexEnum;

public class OrderSelectInfoToChargeEntity implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	private String Id;


    private Double totalAmount;//订单总金额
    
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
    
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String beginTime;//开始时间

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String createTime;//下单时间
    
    private String orderId;//订单号

    private String patientName;//患者姓名
    private String patientId;//患者Id

    private String phone;//联系电话
    private String serviceType;
    

	@SuppressWarnings("unused")
	private String serviceTypeName;


    private String orderStatus;
    @SuppressWarnings("unused")
	private String orderStatusName;//订单状态
    private String payStatus;//资金状态
    @SuppressWarnings("unused")
	private String payStatusName;
    private String departmentName;//科室
    private String sex;
    private String sexName;
    private String   bedNumber;//床号
    private String   receiptNumber;//收据编号
    private String remainingTime;//剩余时间
    private String workerNames;//护工名称
    private String orderType;//订单类型 1:新入 2:续费  3:退款
    private String orderTypeName;//订单类型 1:新入 2:续费  3:退款
    private String superOrderId;// 父订单id
    private Boolean refundsFlag;//是否被退款  true被退款 false未被退款
    public String getOrderType() {
		return orderType;
	}
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	@ExcelResources(title = "订单类型", order = 7)
	public String getOrderTypeName() {
		return getOrderType()==null||"".equals(getOrderType())?null:OrderTypeEnum.valueOf("_"+getOrderType()).getVal();
	}
	public void setOrderTypeName(String orderTypeName) {
		this.orderTypeName = orderTypeName;
	}
	public String getSuperOrderId() {
		return superOrderId;
	}
	public void setSuperOrderId(String superOrderId) {
		this.superOrderId = superOrderId;
	}
	public Boolean getRefundsFlag() {
		return refundsFlag;
	}
	public void setRefundsFlag(Boolean refundsFlag) {
		this.refundsFlag = refundsFlag;
	}
	@ExcelResources(title = "护工/小组", order = 3)
    public String getWorkerNames() {
		return workerNames;
	}
	public void setWorkerNames(String workerNames) {
		this.workerNames = workerNames;
	}
	public String getPatientId() {
		return patientId;
	}
	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
	public String getBedNumber() {
		return bedNumber;
	}
	public void setBedNumber(String bedNumber) {
		this.bedNumber = bedNumber;
	}
	@ExcelResources(title = "收据编号", order = 1)
	public String getReceiptNumber() {
		return receiptNumber;
	}
	public void setReceiptNumber(String receiptNumber) {
		this.receiptNumber = receiptNumber;
	}
	public String getId() {
		return Id;
	}
	public void setId(String id) {
		Id = id;
	}
	@ExcelResources(title = "订单金额", order = 9,isNum=1)
	public Double getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(Double totalAmount) {
		this.totalAmount = totalAmount;
	}
	@ExcelResources(title = "服务结束时间", order = 2)
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	@ExcelResources(title = "录单日期", order = 12)
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	@ExcelResources(title = "患者", order = 4)
	public String getPatientName() {
		return patientName;
	}
	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}
	@ExcelResources(title = "联系电话", order = 6)
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getServiceType() {
		return serviceType;
	}
	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}
	@ExcelResources(title = "服务类型", order = 8)
	public String getServiceTypeName() {
		return serviceTypeName;
	}
	public void setServiceTypeName(String serviceTypeName) {
		this.serviceTypeName = serviceTypeName;
	}
	public String getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}
	@ExcelResources(title = "订单状态", order = 10)
	public String getOrderStatusName() {
		return getOrderStatus()==null||"0".equals(getOrderStatus())?null:OrderStatusEnum.valueOf("_"+getOrderStatus()).getVal();
	}
	public void setOrderStatusName(String orderStatusName) {
		this.orderStatusName = orderStatusName;
	}
	public String getPayStatus() {
		return payStatus;
	}
	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}
	public String getPayStatusName() {
		return getPayStatus()==null||"0".equals(getPayStatus())?null:PayStatusEnum.valueOf("_"+getPayStatus()).getVal();
	}
	public void setPayStatusName(String payStatusName) {
		this.payStatusName = payStatusName;
	}
	@ExcelResources(title = "科室", order = 5)
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getSexName() {
		return getSex()==null||"".equals(getSex())?null:SexEnum.valueOf("_"+getSex()).getVal();
	}
	public void setSexName(String sexName) {
		this.sexName = sexName;
	}
	@ExcelResources(title = "服务剩余时间", order = 11)
	public String getRemainingTime() {
		return remainingTime;
	}
	public void setRemainingTime(String remainingTime) {
		this.remainingTime = remainingTime;
	}
  
}